%%
%% macros.tex
%% 
%% Made by alex
%% Login   <alex@tomato>
%% 
%% Started on  Tue Jan  3 09:07:54 2012 alex
%% Last update Tue Jan  3 09:07:54 2012 alex
%%


\font\chapterfont=cmssbx10 scaled\magstep3
\font\twelvess=cmss12
\makeatletter
\renewcommand\chapter{\clearpage%\if@openright\cleardoublepage\else\clearpage\fi
                    \thispagestyle{plain}%
                    \global\@topnum\z@
                    \@afterindentfalse
                    \secdef\@chapter\@schapter}
\def\@makechapterhead#1{%
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
        \twelvess \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
      \fi
    \fi
    \interlinepenalty\@M
    \chapterfont\hfill #1\par\nobreak
    \vskip 40\p@
  }}
\def\@makeschapterhead#1{%
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    \chapterfont \hfill #1\par\nobreak
    \vskip 40\p@
  }}
\makeatother
